//
//  CCVSCustomView.h
//  ClinicalCollections
//
//  Created by Pasirstein, David B on 4/5/13.
//  Copyright (c) 2013 GOPI. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface CCVSCustomView : UIView

+(CGFloat)getTopicLabelWidth:(CGFloat)superViewFrameWidth;
+(CGFloat)getDetailLabelWidth:(CGFloat)superViewFrameWidth;
//data can be NSString, CCSVImage, CCSVHyperlink, or NSArray
+(CGSize)calcSizeOfLabel:(id)data withLabelWidth:(CGFloat)width;

//data model for CustomView
//All topics and superView MUST be set to non-nil
@property (strong,nonatomic) NSArray * topics;
@property (strong,nonatomic) NSArray * details;
@property (weak,nonatomic) UIView * superView;

@property (weak,nonatomic) UIViewController * vc;

//Current the view splits to two columns
//this value defaults to 3 which is left 1/3 and right is 2/3
//if this were 2, then it would be 1/2 and 1/2
@property (nonatomic) float leftRightDivisor;


//set the view into action...
-(void) buildView;

//shut the view down... (inherited method)
//-(void)removeFromSuperview;


@end
